package creditsProject.dto;

import java.io.Serializable;

public class RequestDto implements Serializable {

	private int requestId;
	private int creditId;
	private int phoneNumber;
	private String creditName;
	private String userName;
	private Boolean approved;
	private Boolean declined;
	private String date;

	public RequestDto() {
		super();
	}

	public RequestDto(int requestId, int creditId, int phoneNumber) {
		super();
		this.requestId = requestId;
		this.creditId = creditId;
		this.phoneNumber = phoneNumber;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public Boolean isApproved() {
		return approved;
	}

	public void setApproved(Boolean approved) {
		this.approved = approved;
	}

	public Boolean isDeclined() {
		return declined;
	}

	public void setDeclined(Boolean declined) {
		this.declined = declined;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getRequestId() {
		return requestId;
	}

	public String getCreditName() {
		return creditName;
	}

	public void setCreditName(String creditName) {
		this.creditName = creditName;
	}

	public void setRequestId(int requestId) {
		this.requestId = requestId;
	}

	public int getCreditId() {
		return creditId;
	}

	public void setCreditId(int creditId) {
		this.creditId = creditId;
	}

	public int getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(int phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	@Override
	public String toString() {
		return "RequestDto [requestId=" + requestId + ", creditId=" + creditId
				+ ", phoneNumber=" + phoneNumber + ", creditName=" + creditName
				+ "]";
	}

}
